integer decomposition